package cn.ac.jaas.isc.vegetable.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author 张高昌
 * @date 2022/4/23 21:03
 * @description: 网关通用配置文件
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties("gateway")
public class GatewayConfigProperties {

    /**
     * 网关解密登录前端密码 秘钥 {@link cn.ac.jaas.isc.vegetable.gateway.filter.PasswordDecoderFilter}
     */
    public String encodeKey;
}
